package com.qf.flying;

import java.awt.image.BufferedImage;

/**
 * 多种子弹的制作-姚骁
 * */
public class Bullet extends FlyObject{
	public int Yspeed=3;//速度
	protected int damage;

	public Bullet(int x,int y) {
		damage = 100;
		image=ShootGame.fire1;
		width=image.getWidth();
		height=image.getHeight();
		this.x=x;
		this.y=y;
	}

	@Override
	public void step() {
		y-=Yspeed;
		
	}

	@Override
	public boolean isShot(Bullet b)
	{
		return false;
	}

	public int getDamage()
	{
		return damage;
	}

	
}
